package com.example.data.factory.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.data.factory.common.Dto.*;
import com.example.data.factory.common.result.R;
import com.example.data.factory.entity.entity.DataStandard;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 数据标准目录 服务类
 * </p>
 *
 * @author lhy
 * @since 2025-03-03
 */
public interface DataStandardService extends IService<DataStandard> {

    R<DataStandard> search(SearchDtaStandardDto searchDtaStandardDto);

    R<DataStandard> insert(InsertDataStandardDto insertDataStandardDto);

    R<DataStandard> updates(UpdateDataStandard updateDataStandard);

    R<DataStandard> updatestatus(UpdateDataStandardStatusDto updateDataStandardStatusDto);

    R<DataStandard> delete(DeleteDataStandardDto deleteDataStandardDto);


    R<DataStandard> searchdetail(DeleteDataStandardDto deleteDataStandardDto1);

    R<Map<String, Object>> searchbydetail(SearchByDictNameDto searchByDictNameDto);

    R<DataStandard> updateStatusBatch(List<UpdateDataStandardStatusDto> updateDataStandardStatusDtos);
}
